<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<jsp:include page="../header.jsp"></jsp:include>
</head>
<body>
	<div class="contextBox">
		<form  id="itemsForm" action="" method=get>
									<table width="100%" border="0" cellspacing="0" cellpadding="0" >
										<tr>
											<td align="left"> <span>管理员名称：${mapManager['manger']}</span></td>
											<input type="hidden" name="id" id="id" value="${mapManager['id']}"/>
											<input type="hidden" name="pwd" id="pwd" value="${mapManager['pwd']}"/>
										</tr>
										<tr>
											<td align="left"><span class="redtxt">密码： </span> <input
												type="text" name="password" class="password"
												value="${mapManager['pwd']}"></td>


										</tr>
									</table>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<td align="left"><input type="button" value="提交"
											class="btn btn-success" onclick="addform()"></td>
									</table>

								</form>
							</div>
	
	<div class="push"></div>
	<script type="text/javascript">
		function addform(){
			$.ajax({ type : 'post',
						url : "<%=request.getContextPath()%>/supervise/getManagerU.do",
						data : $("#itemsForm").serialize(),
						success : function(data) {
							if (data == 1) {
								alert("修改成功");
							}  else {
								alert("修改失败");
							}
						}
					});
		}
	</script>
	<script
		src="<%=request.getContextPath()%>/Stlye/lhgcalendar/lhgcore.js"></script>
	<script
		src="<%=request.getContextPath()%>/Stlye/lhgcalendar/lhgcalendar.js"></script>
	<script src="<%=request.getContextPath()%>/Stlye/js/jquery.min.js"></script>
	<script src="<%=request.getContextPath()%>/Stlye/js/jquery-ui.min.js"></script>
	<script src="<%=request.getContextPath()%>/Stlye/js/jquery.js"></script>
</body>
</html>